import Vue from 'vue'
// 引入element-ui配置文件 1.
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/global.css'

// 全局使用element-ui 2.
Vue.use(ElementUI)
// 阻止vue启动生产消息
Vue.config.productionTip = true

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
